package com.phoebe.auth.model;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @author: zhaojd1604@gmail.com
 * @date: 2019-01-03 20:29
 * @description: 授权秘钥对
 * @since: V0.0.1
 */
@Data
@Entity
@Table(name = "auth_access_key")
public class AuthAccessKey implements Serializable {
    private static final long serialVersionUID = -577438632156450023L;

    @Id
    private Long id;
    private Long appId;
    private String accessKeyId;
    private String accessKeySecret;
    private Integer status;
    private Date createTime;
    private Date updateTime;
}